<?php
session_start();
require_once('../../../classes/database.php');
require_once('../../../classes/generate_form.php');
require_once('../../../classes/upload.php');
require_once '../../../classes/category.class.php';
require_once '../../../classes/tutorial.class.php';
require_once '../../../classes/share.class.php';
require_once('../../../functions/functions.php');
require_once('../../../functions/rewrite_function.php');
require_once('../../../functions/form.php');
require_once('../../../functions/date_functions.php');
require_once("../../../functions/file_functions.php");

require_once("../../../config/config_db.php");
require_once('functions.php');
require_once('grid.php');
require_once('functions_1.php');

$admin_id 				= getValue("user_id","int","SESSION");
$isAdmin	=	getValue("isAdmin", "int", "SESSION", 0);

$css_global = '';
$css_global .= '<link rel="stylesheet" type="text/css" href="../../resources/css/bootstrap.css" />';
$css_global .= '<link rel="stylesheet" type="text/css" href="../../resources/css/common.css" />';
$css_global .= '<link rel="stylesheet" type="text/css" href="../../resources/css/template.css" />';
$css_global .= '<link rel="stylesheet" type="text/css" href="../../resources/css/datepick.css" />';

$js_global = '';
$js_global .= '<script src="../../resources/js/jquery.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/plupload/plupload.full.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/bootstrap.min.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/tinymce/tiny_mce.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/datepick.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/jquery.autocomplete.js" type="text/javascript"></script>';
$js_global .= '<script src="../../resources/js/script.js" type="text/javascript"></script>';
$load_header = $css_global.$js_global;
$load_header .= '<title>Hệ thống quản lý CMS</title>';
?>